<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<script src="//code.jquery.com/jquery-1.11.2.min.js"></script>
<script src="http://cdn.datatables.net/1.10.0/js/jquery.dataTables.js"></script>
<link rel="stylesheet" href="http://cdn.datatables.net/1.10.0/css/jquery.dataTables.css">
<script type="text/javascript">
  $(document).ready(function() {
	    $('#example').dataTable();
	} );
  </script>
<script>
   $(function() {
     
      $("#searchbtn").click(function() {
         var search = $("#search").val();
         $("#search").attr('value',search);
         location.href = "recruit_search.do?search=" + search;
      });
   });
</script>
<div id="content_work">
	<!-- 컨텐츠 -->
	<div class="work_contents">
		<h1>
			<img src="images/recruit/admin/re_notice_title.gif" alt="채용공고">
		</h1>
		
		 
		<table id="example" class="display" cellspacing="0" width="100%">
		<thead>
				<tr>
					<th>채용부문</th>
					<th>모집대상</th>
					<th>접수기간</th>
				</tr>
		</thead>
			<tbody>

				<c:forEach var="recruit_list" items="${list }">
					<tr align="left">						
						<td class="td_t_bo td_b_bo td_l_bo2">
							<a href="recruitment_detail.do?rcrt_num=${recruit_list.rcrt_num }">${recruit_list.recruit_nm }</a>
          			  </td>
						<td class="td_t_bo td_b_bo">${recruit_list.recruit_cd }</td>		
						<td class="td_l_bo td_t_bo td_b_bo al_l">${recruit_list.app_strt_dt } - ${recruit_list.app_end_dt } </td>										
					</tr>
				</c:forEach>
			</tbody>
		</table>
		
	</div>
	<!-- 컨텐츠 -->
</div>
